home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 for Intel / NeXTSTEP 3.2 for Intel.iso / NextLibrary / Documentation / Sybase / DBLIB / Section2 / dbclose.nr < prev    next >
Encoding:
Text File  |  1993-04-22  |  848 b   |  41 lines

  1. .Na "dbclose" 
  2. .Aa
  3. .Fu
  4. Close and de-allocate a single DBPROCESS structure.
  5. .Ih "DBPROCESS, closing"
  6. .Ih "network connection, closing"
  7. .Sy
  8. .Sf "void dbclose(dbproc)"
  9. .Sp "DBPROCESS" "*dbproc"
  10. .Co
  11. .Bl
  12. .I "dbclose()"
  13. is the inverse of
  14. .I "dbopen()."
  15. It cleans up any activity associated with one DBPROCESS
  16. structure and de-allocates the space.
  17. It also closes the corresponding network connection.
  18. .Bl
  19. To close every open DBPROCESS structure,
  20. use \f2dbexit()\f1 instead.
  21. .Bl
  22. Calling
  23. .I "dbclose()"
  24. with an argument not returned by
  25. .I "dbopen()"
  26. is sure to cause trouble.
  27. .Bz
  28. .Pa
  29. .Pi dbproc
  30. A pointer to the DBPROCESS structure that provides the connection
  31. for a particular front-end/\*S process.  It contains all the
  32. information that \*L uses to manage communications and data between the
  33. front end and \*S.
  34. .in -.375i
  35. .Re
  36. .br
  37. None.
  38. .Sa
  39. dbexit,
  40. dbopen
  41.